@model Mod.Training.Models.Item
@using HtmlHelpers.BeginCollectionItem

@using (Html.BeginCollectionItem("Items"))
{
    <fieldset>
        @Html.HiddenFor(e => e.Id)
        <div>
            @Html.LabelFor(e => e.Name, T("Name"))
            @Html.TextBoxFor(e => e.Name, new { @class = "textMedium" })
        </div>
        <div>
            @Html.LabelFor(e => e.Age, T("Age"))
            @Html.TextBoxFor(e => e.Age, new { @class = "textMedium" })
        </div>
    </fieldset>
}
